runtime.gcControllerState.memoryLimit (field)
8 uses
runtime (current package)
malloc.go#L723: gcController.memoryLimit.Store(math.MaxInt64)
metrics.go#L312: out.scalar = uint64(gcController.memoryLimit.Load())
mgcpacer.go#L104: memoryLimit atomic.Int64
mgcpacer.go#L1119: memoryLimit := uint64(c.memoryLimit.Load())
mgcpacer.go#L1390: out := c.memoryLimit.Load()
mgcpacer.go#L1392: c.memoryLimit.Store(in)
mgcpacer.go#L1538: gcPaceScavenger(gcController.memoryLimit.Load(), heapGoal, gcController.lastHeapGoal)
mheap.go#L1330: if limit := gcController.memoryLimit.Load(); !gcCPULimiter.limiting() {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |